package com.kingtao.service;

import com.kingtao.entry.LogEntry;
import com.kingtao.entry.Node;

/**
 * @Author: kingtao
 * @Date: 2023-07-24-15:15
 * @Description:
 */
public interface LogService extends LifeInit{

    public void writeLogEntry(LogEntry logEntry);

    public LogEntry getLogByIndex(int index);

    public String getValueFromIndexByKey(int index, int key);

    public int getLastIndex();
}
